<template>
  <div id="app">
    <div class="nav">
      <router-link to="/">Home</router-link>
      <router-link to="/about">About</router-link>
    </div>
    <div class="main">
      <router-view />
    </div>
  </div>
</template>

<style lang="scss">
#app {
  width: 100vw;
  height: 100vh;
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  .nav {
    height: 40px;
    width: 100%;
    text-align: center;
    line-height: 40px;
    background-color: #1f6b75;

    a {
      margin-right: 10px;
      text-decoration: none;
      font-weight: bold;
      color: rgba(255, 255, 255, 0.5);

      &.router-link-exact-active {
        color: white;
      }
    }
  }

  .main {
    height: calc(100% - 40px);
  }
}

* {
  margin: 0;
  padding: 0;
}
</style>
